<?php
header("Expires: Thu, 15 Apr 2012 20:00:00 GMT");
header('Content-Type: text/css');
header("ETag: ");

header("Cache-Control: must-revalidate, proxy-revalidate" );
header("Cache-Control: max-age=".strtotime('+365 days'));
function duke($buffer){
return (str_replace(array("\t", "\n", "\r"), null, $buffer));
}
ob_start("duke");
$load = explode('-',$_GET['load']);
//echo "<pre>".print_r($load)."</pre>";
foreach($load as $x):
        if(file_exists($x.'.css')):
            echo file_get_contents($x.'.css');
        elseif(file_exists('layout/'.$x.'.css')):
            echo file_get_contents('layout/'.$x.'.css');
        endif;
endforeach;


ob_end_flush();
?>
